package com.itbaizhan.config;

/**
 * @author spf
 * @date 2024/2/1
 * @time 20:33
 */

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * cloud配置类
 */
@Configuration
public class CloudConfig {

//    @LoadBalanced
    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }

}
